package com.zenagro.actions.pedido;

import java.util.*;

import javax.inject.*;

import org.openxava.actions.*;

import com.zenagro.domain.zenagro.*;

public class CargarCompartimentoAction extends TabBaseAction implements IChangeModuleAction, IChangeModeAction{

	@Inject HashMap mapaComun; 
	
	public void execute() throws Exception {
		
		mapaComun.put("compartimento", getView().getAllValues());
		
		//showDialog();
		//getView().setTitle("Seleccione pedido a cargar");
		//getView().setModelName(Pedido.class.getSimpleName());
		
		
		
	}

	public String getNextMode(){
		return LIST;
	}
	public String getNextModule() {
		return Pedido.class.getSimpleName();
		
	}

	public boolean hasReinitNextModule() {
		// TODO Auto-generated method stub
		return false;
	}

	

	

	

}
